#include "serverMutex.h"

Mutex::Mutex() {
	pthread_mutex_init(&mutexId, NULL);
}

void Mutex::bloquear() {
	pthread_mutex_lock(&mutexId);
}

void Mutex::desbloquear() {
	pthread_mutex_unlock(&mutexId);
}
